<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <div>
        <img th:src="${'data:image/jpg;base64,'+base64}" height="200px" width="400px"/>
    </div>
</body>
</html>

